package com.example.mqttclient.protocol;

public class IntLevelMessage extends BaseMessage {
    public int level;
    public boolean power;
    public String status; // 添加状态字段

    public IntLevelMessage(boolean power, int level, String status) {
        this.power = power;
        this.level = level;
        this.status = status; // 设置状态
        this.type = Type.INT_LEVEL.index;
    }
}